package com.daqian.chance.common.swagger2.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 配置
 * @author daqian
 */
@Data
@Component
@ConfigurationProperties(prefix = "chance.swagger2")
public class Swagger2Properties {

    /**
     * 分组名称
     */
    private String groupName;

    /**
     * 指定Controller扫描包路径
     */
    private String basePackage = "com.daqian.chance.**.controller";

    /**
     * 标题
     */
    private String title = "默认标题";

    /**
     * 描述
     */
    private String description = "默认描述";

    /**
     * 服务地址前缀
     */
    private String url;

    /**
     * 版本号
     */
    private String version = "v0.0.1";

}
